//
// Copyright (c) 2010 Alex Nesterenko
//

#ifndef NANE_XMLSERIALIZESYSTEM_H
#    define	NANE_XMLSERIALIZESYSTEM_H

#   include "serializesystem/serializesysteminterface.h"

#   include "expat.h"

namespace nane
{
    class XMLSerializeSystem
        : public SerializeSystemInterface
    {
    public:
        XMLSerializeSystem();
        ~XMLSerializeSystem();

    public:
        bool initialize();
        void shutdown();
        bool deserialize( InputSeekableInterface* _input, Protocol* _protocol );

    private:
        XML_Parser m_parser;
    };
}   // namespace nane

#endif	// NANE_XMLSERIALIZESYSTEM_H
